<table id="" class="tablesorter"> 
    <thead> 
        <tr> 
            <th>#</th>
            <th><?php echo $lang['ztext_name'] ?></th> 
            <th><?php echo $lang['ztext_code'] ?></th> 
            <th><?php echo $lang['ztext_country_id'] ?></th> 
            <th><?php echo $lang['ztext_top'] ?></th> 
            <th><?php echo $lang['text_status'] ?></th> 
            <th><?php echo $lang['text_action'] ?></th> 
        </tr> 
    </thead> 

    <tbody> 

        <?php foreach ($zones as $zone) { ?>
            <tr id="country_<?php echo $zone->zone_id ?>"> 
                <td><?php echo $zone->zone_id ?></td> 
                <td><?php echo $zone->name ?></td> 
                <td><?php echo $zone->code ?></td> 
                <td><?php echo $zone->country_id ?></td> 
                <td><?php echo $zone->top ?></td> 
                <td id="stt<?php echo $zone->zone_id ?>"><?php echo ($zone->status == 1) ? $lang['text_active'] : $lang['text_deactive'] ?></td> 
                <td>
                    <a href="<?php echo admin_url('location/zone_form/' . $zone->zone_id) ?>" title="<?php echo $lang['text_edit'] ?>"><img src="<?php echo base_url() ?>/admin_public/img/Pencil-icon.png"/></a>
                    <a href="javascript:delete_zone(<?php echo $zone->zone_id ?>)" title="<?php echo $lang['text_delete'] ?>"><img src="<?php echo base_url() ?>/admin_public/img/Button-Close-icon.png"/></a>

                </td> 
            </tr> 
        <?php } ?>
    </tbody> 
</table>